package com.dingup.api.model.sys;

import com.dingup.api.enums.log.LogModelEnum;
import com.dingup.api.enums.log.LogUpdateTypeEnum;

import java.util.Date;

public class SysLog {
    private Integer id;

    private String createUserId;

    private LogUpdateTypeEnum updateType;

    private String content;

    private Date createTime;

    private Integer modelId;

    private LogModelEnum model;

    private String operaUserName;

    private String modelName;

    private String createTimeString;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public LogUpdateTypeEnum getUpdateType() {
        return updateType;
    }

    public void setUpdateType(LogUpdateTypeEnum updateType) {
        this.updateType = updateType;
    }

    public LogModelEnum getModel() {
        return model;
    }

    public void setModel(LogModelEnum model) {
        this.model = model;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getModelId() {
        return modelId;
    }

    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }

    public String getOperaUserName() {
        return operaUserName;
    }

    public void setOperaUserName(String operaUserName) {
        this.operaUserName = operaUserName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getCreateTimeString() {
        return createTimeString;
    }

    public void setCreateTimeString(String createTimeString) {
        this.createTimeString = createTimeString;
    }
}